interface stateInterface {
    windowHeight: number,
    windowPageYOffset: number
}

export default {
    namespaced: true,
    state: {
        windowHeight: 0,
        windowPageYOffset: 0
    },
    mutations: {
        GET_WINDOW_HEIGHT(state: stateInterface, value: number) {
            state.windowHeight = value
        },
        GET_WINDOW_PAGE_Y_OFFSET(state: stateInterface, value: number) {
            state.windowPageYOffset = value
            // console.log(state.windowPageYOffset)
        }
    },
    actions: {},
    getters: {}
}
